﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ProjetoComperio.DataLayer.Entities
{
   public class KnowledgeArea
    {
       [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
       public virtual int KnowledgeAreaID { get; set; }

       [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
       public virtual String Description { get; set; }

       public virtual ICollection<AcademicOrganization> AcademicOrganizations { get; set; }
       public virtual ICollection<AcademicPerson> AcademicPeople { get; set; }
       public virtual ICollection<Contribution> Contrributions { get; set; }
    }

}
